package com.amt.util;

import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;

/**   
 * @Title: OrderTypeEnum.java 
 * @Package com.amt.util 
 * @Description: TODO(订单类别枚举类) 
 * @author 江伟  
 * @date 2021年3月24日 上午10:55:55
 * Copyright (c) ©1994-2021 Scjydz.com All Rights Reserved.
 */
public enum OrderTypeEnum {
	今日挂号("jrgh"), 预约挂号("yygh"), 门诊缴费("mzjf"), 住院缴费("zzjf");
	private final String value;

	private static final Map<String, OrderTypeEnum> lookup = new HashMap<String, OrderTypeEnum>();

	static {
		for (OrderTypeEnum s : EnumSet.allOf(OrderTypeEnum.class)) {
			lookup.put(s.getValue(), s);
		}
	}

	private OrderTypeEnum(String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	public static OrderTypeEnum lookup(String value) {
		return lookup.get(value);
	}
	
}
